/**
 * 
 */
package com.nh.entity;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 项目名称：NotoginsengManage
 * 
 * 类名称：NgInteractive
 * 
 * 类描述： 互动话题
 * 
 * 创建人：李兴建
 * 
 * E-mail:lxj08193@163.com
 * 
 * 创建时间：2012-11-8 下午06:29:30
 * 
 * 修改人：李兴建
 * 
 * 修改时间：2012-11-8 下午06:29:30
 * 
 * 修改备注：
 * 
 * @version
 */
@Entity
@Table(name = "ng_interactive_topic")
public class NgInteractiveTopic extends BaseEntity {
	/**
	 * 类型 0:心得交流  1：销售信息  2：提问
	 */
	private int type;
	
	/**
	 * 标题
	 */
	private String title;
	/**
	 * 内容
	 */
	private String content;
	/**
	 * 创建时间
	 */
	private Timestamp createTime;
	/**
	 * 发布时间
	 */
	private Timestamp publishTime;
	/**
	 * 审核 0:等待审核 1：已经审核 2：已删除
	 */
	private Integer verification;
	/**
	 * 审核人员
	 */
	private String verificationAdminString;
	/**
	 * 审核时间
	 */
	private Timestamp verificationTime;
	/**
	 * 取消审核通过时间
	 */
	private Timestamp verificationReTime;
	/**
	 * 取消管理员
	 */
	private String verificationReAdmin;
	/**
	 * 置顶 0:否 1：是
	 */
	private Integer top;
	/**
	 * 显示顺序
	 */
	private Integer orderView;
	/**
	 * 是否是管理员创建 0：否 1：是
	 */
	private Integer admintag;
	/**
	 * 创建人名称
	 */
	private String userString;
	/**
	 * 创建人标识
	 */
	private Long userCode;
	/**
	 * 回复量
	 */
	private Integer revoverCount;
	/**
	 * 访问量
	 */
	private Integer visitViewCount;
	/**
	 * 最近回复时间
	 * 
	 */
	private Timestamp lastReplyTime;
	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}
	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	/**
	 * @return the content
	 */
	@Column(name = "content_info",columnDefinition = "TEXT NOT NULL", nullable = false)
	public String getContent() {
		return content;
	}
	/**
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}
	/**
	 * @return the createTime
	 */
	public Timestamp getCreateTime() {
		return createTime;
	}
	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
	/**
	 * @return the publishTime
	 */
	public Timestamp getPublishTime() {
		return publishTime;
	}
	/**
	 * @param publishTime the publishTime to set
	 */
	public void setPublishTime(Timestamp publishTime) {
		this.publishTime = publishTime;
	}
	/**
	 * @return the verification
	 */
	public Integer getVerification() {
		return verification;
	}
	/**
	 * @param verification the verification to set
	 */
	public void setVerification(Integer verification) {
		this.verification = verification;
	}
	/**
	 * @return the top
	 */
	public Integer getTop() {
		return top;
	}
	/**
	 * @param top the top to set
	 */
	public void setTop(Integer top) {
		this.top = top;
	}
	/**
	 * @return the orderView
	 */
	public Integer getOrderView() {
		return orderView;
	}
	/**
	 * @param orderView the orderView to set
	 */
	public void setOrderView(Integer orderView) {
		this.orderView = orderView;
	}
	/**
	 * @return the admintag
	 */
	public Integer getAdmintag() {
		return admintag;
	}
	/**
	 * @param admintag the admintag to set
	 */
	public void setAdmintag(Integer admintag) {
		this.admintag = admintag;
	}
	/**
	 * @return the userString
	 */
	public String getUserString() {
		return userString;
	}
	/**
	 * @param userString the userString to set
	 */
	public void setUserString(String userString) {
		this.userString = userString;
	}
	
	/**
	 * @return the userCode
	 */
	public Long getUserCode() {
		return userCode;
	}
	/**
	 * @param userCode the userCode to set
	 */
	public void setUserCode(Long userCode) {
		this.userCode = userCode;
	}
	/**
	 * @return the verificationAdminString
	 */
	public String getVerificationAdminString() {
		return verificationAdminString;
	}
	/**
	 * @param verificationAdminString the verificationAdminString to set
	 */
	public void setVerificationAdminString(String verificationAdminString) {
		this.verificationAdminString = verificationAdminString;
	}
	/**
	 * @return the verificationTime
	 */
	public Timestamp getVerificationTime() {
		return verificationTime;
	}
	/**
	 * @param verificationTime the verificationTime to set
	 */
	public void setVerificationTime(Timestamp verificationTime) {
		this.verificationTime = verificationTime;
	}
	/**
	 * @return the verificationReTime
	 */
	public Timestamp getVerificationReTime() {
		return verificationReTime;
	}
	/**
	 * @param verificationReTime the verificationReTime to set
	 */
	public void setVerificationReTime(Timestamp verificationReTime) {
		this.verificationReTime = verificationReTime;
	}
	/**
	 * @return the verificationReAdmin
	 */
	public String getVerificationReAdmin() {
		return verificationReAdmin;
	}
	/**
	 * @param verificationReAdmin the verificationReAdmin to set
	 */
	public void setVerificationReAdmin(String verificationReAdmin) {
		this.verificationReAdmin = verificationReAdmin;
	}
	/**
	 * @return the revoverCount
	 */
	public Integer getRevoverCount() {
		return revoverCount;
	}
	/**
	 * @param revoverCount the revoverCount to set
	 */
	public void setRevoverCount(Integer revoverCount) {
		this.revoverCount = revoverCount;
	}
	/**
	 * @return the visitViewCount
	 */
	public Integer getVisitViewCount() {
		return visitViewCount;
	}
	/**
	 * @param visitViewCount the visitViewCount to set
	 */
	public void setVisitViewCount(Integer visitViewCount) {
		this.visitViewCount = visitViewCount;
	}
	/**
	 * @return the type
	 */
	public int getType() {
		return type;
	}
	/**
	 * @param type the type to set
	 */
	public void setType(int type) {
		this.type = type;
	}
	/**
	 * @return the lastReplyTime
	 */
	public Timestamp getLastReplyTime() {
		return lastReplyTime;
	}
	/**
	 * @param lastReplyTime the lastReplyTime to set
	 */
	public void setLastReplyTime(Timestamp lastReplyTime) {
		this.lastReplyTime = lastReplyTime;
	}

}
